package com.chenxi.common.service;

import com.chenxi.common.mapper.BaseMapper;
import com.chenxi.util.PageData;
import com.chenxi.util.PageForm;

import java.util.Map;

/**
 * ${DESCRIPTION}
 *
 * @author Hu Xiaolong
 * @version V0.1
 * @create 2017/12/22
 */
public interface IBaseService<T> {
    T get(Long objId);
    int save(T t);
    int update(T t);
    PageData<T> page(PageForm pageForm);
    void delete(Long objId);
    int batchSave(T ... t);
    void batchUpdate(T ... t);
    void batchDelete(Long ... objId);
}
